{% extends 'wxchat/wxbase.html' %}{% load static %}{% load thumbnail %}
{% block container %}
<div class="weui-panel weui-panel_access">
   <div class="weui-panel__hd">
        <div class="weui-flex">
            <div><a href="javascript:window.history.back(-1)"><i class="icon iconfont icon-jiantou3 gray " ></i></a></div>
            <div class="weui-flex__item" style="text-align: center;"><span class="detail_title">招聘详情</span></div>
            <div ><a href="{% url 'dog-index' %}?next={{ request.get_full_path }}"><i class="icon iconfont icon-shouye2 pink r" ></i></a></div>
        </div>
   </div>
    <div class="weui-panel__bd">

       <div class="weui-form-preview">
       <div class="weui-form-preview__bd">
           <div class="weui-form-preview__item">
               <label class="weui-form-preview__label">职位名 :</label>
               <span class="weui-form-preview__value"> {{ object.name }}</span>
           </div>
           <div class="weui-form-preview__item">
               <label class="weui-form-preview__label">职位需求 :</label>
               <span class="weui-form-preview__value">{{ object.requirements }}</span>
           </div>
           <div class="weui-form-preview__item">
               <label class="weui-form-preview__label">工作地点 :</label>
               <span class="weui-form-preview__value">{{ object.job_place }}</span>
           </div>
           <div class="weui-form-preview__item">
               <label class="weui-form-preview__label">公司名 :</label>
               <span class="weui-form-preview__value">{{ object.company_name }}</span>
           </div>
            <div class="weui-form-preview__item">
               <label class="weui-form-preview__label">联系方式 :</label>
               <span class="weui-form-preview__value">{{ object.contact_way }}</span>
           </div>
            <div class="weui-form-preview__item">
               <label class="weui-form-preview__label">公司简介 :</label>
               <span class="weui-form-preview__value">{{ object.company_intro}}</span>
           </div>
            <div class="weui-form-preview__item">
               <label class="weui-form-preview__label">发布时间 :</label>
               <span class="weui-form-preview__value">{{ object.pub_time|date:'Y-m-d'}}</span>
           </div>
           {% if object.picture %}
             <div class="detail_header">
                <img src="{{ object.picture.url }}" >
             </div>
          {% endif %}
       </div>
    </div>
    </div>
</div>

{% endblock container %}

